# CSS Animatable

« CSS Reference

## Definition and Usage

Some CSS properties are animatable, meaning that they can be used in animations and transitions.

Animatable properties can change gradually from one value to another, like size, numbers, percentage and color.

## Browser Support

The numbers in the table specifies the first browser version that fully support CSS animations.

Numbers followed by -webkit-, -moz-, or -o- specify the first version that worked with a prefix.

4.0 -webkit- | 10.0 | 16.0 5.0 -moz- | 4.0 -webkit- | 15.0 -webkit- 12.1 12.0 -o-

## Example

Animate the background-color from red to blue:

/* Code for Chrome, Safari and Opera */
@-webkit-keyframes mymove {
from {background-color: red;}
to {background-color: blue;}
}
/* Standard syntax */
@keyframes mymove {
from {background-color: red;}
to {background-color: blue;}
}
Try it yourself »

## Animatable Properties

These properties are animatable in CSS:

Property
background Try it
background-color Try it
background-position Try it
background-size Try it
border Try it
border-bottom Try it
border-bottom-color Try it
border-bottom-left-radius Try it
border-bottom-right-radius Try it
border-bottom-width Try it
border-color Try it
border-left Try it
border-left-color Try it
border-left-width Try it
border-right Try it
border-right-color Try it
border-right-width Try it
border-spacing Try it
border-top Try it
border-top-color Try it
border-top-left-radius Try it
border-top-right-radius Try it
border-top-width Try it
bottom Try it
box-shadow Try it
clip Try it
color Try it
column-count Try it
column-gap Try it
column-rule Try it
column-rule-color Try it
column-rule-width Try it
column-width Try it
columns Try it
flex
flex-basis Try it
flex-grow Try it
flex-shrink Try it
font Try it
font-size Try it
font-size-adjust
font-stretch
font-weight Try it
height Try it
left Try it
letter-spacing Try it
line-height Try it
margin Try it
margin-bottom Try it
margin-left Try it
margin-right Try it
margin-top Try it
max-height Try it
max-width Try it
min-height Try it
min-width Try it
opacity Try it
order Try it
outline Try it
outline-color Try it
outline-offset Try it
outline-width Try it
padding Try it
padding-bottom Try it
padding-left Try it
padding-right Try it
padding-top Try it
perspective Try it
perspective-origin Try it
right Try it
text-decoration-color Try it
text-indent Try it
text-shadow Try it
top Try it
transform Try it
transform-origin Try it
vertical-align Try it
visibility
width Try it
word-spacing Try it
z-index Try it

« CSS Reference

### WEB HOSTING

UK Reseller Hosting

### WEB BUILDING

FREE Website BUILDER Free HTML5 Templates

### W3SCHOOLS EXAMS

HTML, CSS, JavaScript, PHP, jQuery, XML, and ASP Certifications

### SHARE THIS PAGE

### Color Picker

### HTML/CSS

HTML Tutorial HTML5 Tutorial CSS Tutorial CSS3 Tutorial Bootstrap Tutorial

### JavaScript

JavaScript Tutorial jQuery Tutorial jQuery Mobile Tutorial AngularJS Tutorial AJAX Tutorial JSON Tutorial

### Graphics

Canvas Tutorial SVG Tutorial Google Maps Tutorial

### Server Side

SQL Tutorial PHP Tutorial ASP Tutorial ASP.NET Tutorial VBScript Tutorial AppML Tutorial

### Web

Web Building Web Statistics Web Certification

### XML

XML Tutorial DTD Tutorial Schema Tutorial XML DOM Tutorial XPath Tutorial XSLT Tutorial XQuery Tutorial XSL-FO Tutorial RSS Tutorial WSDL Tutorial

### HTML/CSS

HTML Tag Reference HTML Event Reference HTML Color Reference CSS 1,2,3 Reference Bootstrap Reference

### JavaScript

JavaScript Reference HTML DOM Reference jQuery Reference jQuery Mobile Reference Google Maps Reference

### Server Side

PHP Reference SQL Reference ASP Reference VBScript Reference Razor Reference ASP.NET Reference

### XML

XML DOM Reference XSLT Reference XSL-FO Reference XPath Reference XQuery Reference Schema Reference RSS Reference SVG Reference

### HTML Charsets

HTML Character Sets HTML ASCII HTML ANSI HTML Windows-1252 HTML ISO-8859-1 HTML Symbols HTML UTF-8

### HTML/CSS

HTML Examples CSS Examples

### Browser Scripting

JavaScript Examples HTML DOM Examples jQuery Examples jQuery Mobile Examples AngularJS Examples AJAX Examples

### Server Scripting

PHP Examples ASP Examples VBScript Examples Razor Examples .NET Examples

### XML Languages

XML Examples DTD Examples XML DOM Examples XSL Examples XSLT Examples XPath Examples XQuery Examples Schema Examples RSS Examples SVG Examples